package com.x_memteor.base_master.bean.response;

import java.util.List;

/**
 * @author: X_Meteor
 * @description: 类描述
 * @version: V_1.0.0
 * @date: 2018/4/7 22:55
 * @company:
 * @email: lx802315@163.com
 */
public class NewHeartBean {

    /**
     * server_time : 1524020201
     * code : A0601
     * mac_on_off : {"mac_close_time":"2018-04-18 10:56:41","next_open_time":"2018-04-19 10:56:41"}
     * mac_banner : [{"id":1,"url":"http://mp.8986.cn/public/uploads/20180118/0b488251a352d22fa1ea621007c1e957.jpeg","update_time":1519539598}]
     * islight : 1
     * volnum : 100
     * last_version_id : 2.0
     * weight_wait : 15
     * mr_wait : 12
     * qrcode_wait : 60
     */

    private int server_time;
    private String code;
    private MacOnOffBean mac_on_off;
    private int islight;
    private int volnum;
    private String last_version_id;
    private int weight_wait;
    private int mr_wait;
    private int qrcode_wait;
    private String domain;
    private List<MacBannerBean> mac_banner;


    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    @Override
    public String toString() {
        return "NewHeartBean{" +
                "server_time=" + server_time +
                ", code='" + code + '\'' +
                ", mac_on_off=" + mac_on_off +
                ", islight=" + islight +
                ", volnum=" + volnum +
                ", last_version_id='" + last_version_id + '\'' +
                ", weight_wait=" + weight_wait +
                ", mr_wait=" + mr_wait +
                ", qrcode_wait=" + qrcode_wait +
                ", mac_banner=" + mac_banner +
                '}';
    }

    public int getServer_time() {
        return server_time;
    }

    public void setServer_time(int server_time) {
        this.server_time = server_time;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public MacOnOffBean getMac_on_off() {
        return mac_on_off;
    }

    public void setMac_on_off(MacOnOffBean mac_on_off) {
        this.mac_on_off = mac_on_off;
    }

    public int getIslight() {
        return islight;
    }

    public void setIslight(int islight) {
        this.islight = islight;
    }

    public int getVolnum() {
        return volnum;
    }

    public void setVolnum(int volnum) {
        this.volnum = volnum;
    }

    public String getLast_version_id() {
        return last_version_id;
    }

    public void setLast_version_id(String last_version_id) {
        this.last_version_id = last_version_id;
    }

    public int getWeight_wait() {
        return weight_wait;
    }

    public void setWeight_wait(int weight_wait) {
        this.weight_wait = weight_wait;
    }

    public int getMr_wait() {
        return mr_wait;
    }

    public void setMr_wait(int mr_wait) {
        this.mr_wait = mr_wait;
    }

    public int getQrcode_wait() {
        return qrcode_wait;
    }

    public void setQrcode_wait(int qrcode_wait) {
        this.qrcode_wait = qrcode_wait;
    }

    public List<MacBannerBean> getMac_banner() {
        return mac_banner;
    }

    public void setMac_banner(List<MacBannerBean> mac_banner) {
        this.mac_banner = mac_banner;
    }

    public static class MacOnOffBean {
        @Override
        public String toString() {
            return "MacOnOffBean{" +
                    "mac_close_time='" + mac_close_time + '\'' +
                    ", next_open_time='" + next_open_time + '\'' +
                    '}';
        }

        /**
         * mac_close_time : 2018-04-18 10:56:41
         * next_open_time : 2018-04-19 10:56:41
         */

        private String mac_close_time;
        private String next_open_time;

        public String getMac_close_time() {
            return mac_close_time;
        }

        public void setMac_close_time(String mac_close_time) {
            this.mac_close_time = mac_close_time;
        }

        public String getNext_open_time() {
            return next_open_time;
        }

        public void setNext_open_time(String next_open_time) {
            this.next_open_time = next_open_time;
        }
    }

    public static class MacBannerBean {
        @Override
        public String toString() {
            return "MacBannerBean{" +
                    "id=" + id +
                    ", url='" + url + '\'' +
                    ", update_time=" + update_time +
                    '}';
        }

        /**
         * id : 1
         * url : http://mp.8986.cn/public/uploads/20180118/0b488251a352d22fa1ea621007c1e957.jpeg
         * update_time : 1519539598
         */

        private int id;
        private String url;
        private int update_time;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public int getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(int update_time) {
            this.update_time = update_time;
        }
    }
}
